package util;

import android.location.Geocoder;

import com.google.android.gms.maps.GoogleMap;

public class ApplicationConstant {
	public static String POSTION="pos";
	//map api
	public static final int timeCallOnLocationChange = 5000;// thoi gian goi
	public static final int distanceUpdateOnLocationChange = 10;
	public static String MARK_ON_MAP_SOME = "2";// mark on locate
	public static String MARK_ON_MAP_ONE = "1";// mark one locate0
	public static int limitItem = 12;
	// JSON inforation
	// Locate-----------------------------------------
	public static final String COL_LOCATE_ID = "id";
	public static final String COL_LOCATE_ADDRESS = "address";
	public static final String COL_LOCATE_CATEGORY = "categoryId";
	public static final String COL_LOCATE_NAME = "name";
	public static final String COL_LOCATE_LATITUDE = "la";
	public static final String COL_LOCATE_LONGTITUDE = "long";
	public static final String COL_LOCATE_IMAGE_LIST = "listImageSrc";
	public static final String COL_LOCATE_PHONE = "phoneNumber";
	public static final String COL_LOCATE_WEBSITE = "website";
	public static final String COL_LOCATE_INFORMATION = "infor";
	public static final String COL_LOCATE_EMAIL = "email";
	// Category-----------------------------------------
	public static final String COL_CATEGORY_ID = "id";
	public static final String COL_CATEGORY_NAME = "name";
	public static final String COL_CATEGORY_ENG_NAME = "engName";
	public static final String COL_CATEGORY_IMAGE = "image";
	// Image------------------------------------------------
	public static final String COL_IMAGE_ID = "id";
	public static final String COL_IMAGE_LOCATE_ID = "locateId";
	public static final String COL_IMAGE_IMAGESRC = "imageSrc";
	//intent extra
	public static final String ACTION = "action";
	public static final String ACTION_GET_ALL_CATERORY = "getAllCF";
	public static final String ACTION_FROM = "from";// row index from database
	public static final String ACTION_LATITUDE = "la";
	public static final String ACTION_LONGTITUDE = "log";
	public static final String ACTION_DISTANCE = "distance";
	public static final String ACTION_CATEGORY_ID = "caId";
	public static final String ACTION_GET_LOCATE_BY_DISTANCE = "getByDistance";
	public static final String ACTION_GET_LOCATE_BY_CATERORY = "getByCategory";
	public static final String ACTION_GET_LOCATE_BY_CATERORY_AND_DISTANCE = "getByCategoryAndDistance";
	// json GET from server
	public static final String JSON_ARRAY_CATEGORIES = "categories";
	public static final String JSON_ARRAY_LOCATES = "locates";
	public static int ZOOM = 15;
	public static final String URL_LOCATE = "http://location.is-great.net/LocateRespone.php/";
	public static final String URL_CATEGORY = "http://location.is-great.net/CategoryRespone.php/";
	public static final String URL_IMAGES = "http://location.is-great.net/";
	public static final double MAX_DISTANCE = 0.5;// use to move camera
	public static final String VNCODE = "vi";
	public static String MARK_ON_MAP_MY_LOCATE="3ing";
	//direction
	public static String GET_DIRECTION_VALUE="getdirection";
	public static String LAT1="lat1";
	public static String LOG1="log1";
	public static String LAT2="lat2";
	public static String LOG2="log2";
	public static String NAME1="name1";
	public static String NAME2="name2";
	//recent locate and bookmark
	public static int MAX_RECENT_ITEM=30;
	public static Boolean IS_CALLING_BOOKMARK=false;
	public static Boolean IS_CALLING_RECENT=false;
}
